x86: enable interrupts explicitly in __start_xen()
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 11 Dec 2008 13:25:28 +0000 (13:25 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 11 Dec 2008 13:25:28 +0000 (13:25 +0000)
commit4fef1ea1f4be2baa11c68d5577f4df1ede76bf59
treeffe11448fb7798898e12dc122beb85e095ec535e
parentcc7efb8785dea49729add89b34e7bff7cc755f0e
x86: enable interrupts explicitly in __start_xen()

Instead of relying on smp_prepare_cpus() (via check_nmi_watchdog()) or
init_xen_time() (via init_platform_timer() -> plt_overflow())
implicitly enabling interrupts, enable them explicitly once safe to do
so (it may actually be possible to move this even further up, but I
don't think that would buy us much).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Also move spin_debug_enable() a bit higer. Moving it above
smp_prepare_cpus() didn't work for some reason though!

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/setup.c